package com.haoniu.module.domain.database;

import com.haoniu.common.base.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

    
/**
 * 提现表 user_wallet_out
 *
 * @author houyijun
 * @date 2019-01-25
 */
public class UserWalletOut extends BaseEntity{
	private static final long serialVersionUID = 1L;

	/**  */
	private Integer id;
	/** 用户ID */
	private Integer userId;
	/** 金额 */
	private BigDecimal money;
	/** 手续费 */
	private BigDecimal proceMoney;
	/** 提现方式(1.支付宝 2.银行卡) */
	private Integer way;
	/** 状态 0-未审核 1-审核成功 2-拒绝审核 */
	private Integer status;
	/** 审核原因 */
	private String reason;
	/** 支付宝账号 */
	private String alipay;
	/** 生成阿里的结算订单号 */
	private String alipayId;

	public String getAlipayId() {
		return alipayId;
	}

	public void setAlipayId(String alipayId) {
		this.alipayId = alipayId;
	}

	/** 银行名称 */
	private String bankName;
	/** 银行账号 */
	private String bankNumber;
	/** 真实姓名 */
	private String realName;
	/**  */
	private Date createTime;
	/** 审核日期 */
	private Date updateTime;
	/** 删除标识 0-未删除 2-已删除 */
	private Integer delFlag;

	public static long getSerialVersionUID() {
		return serialVersionUID;
	}

	public void setId(Integer id){
		this.id = id;
	}

	public Integer getId(){
		return id;
	}
	public void setUserId(Integer userId){
		this.userId = userId;
	}

	public Integer getUserId(){
		return userId;
	}
	public void setMoney(BigDecimal money){
		this.money = money;
	}

	public BigDecimal getMoney(){
		return money;
	}
	public void setProceMoney(BigDecimal proceMoney){
		this.proceMoney = proceMoney;
	}

	public BigDecimal getProceMoney(){
		return proceMoney;
	}
	public void setWay(Integer way){
		this.way = way;
	}

	public Integer getWay(){
		return way;
	}
	public void setStatus(Integer status){
		this.status = status;
	}

	public Integer getStatus(){
		return status;
	}
	public void setReason(String reason){
		this.reason = reason;
	}

	public String getReason(){
		return reason;
	}
	public void setAlipay(String alipay){
		this.alipay = alipay;
	}

	public String getAlipay(){
		return alipay;
	}
	public void setBankName(String bankName){
		this.bankName = bankName;
	}

	public String getBankName(){
		return bankName;
	}
	public void setBankNumber(String bankNumber){
		this.bankNumber = bankNumber;
	}

	public String getBankNumber(){
		return bankNumber;
	}
	public void setRealName(String realName){
		this.realName = realName;
	}

	public String getRealName(){
		return realName;
	}
	public void setCreateTime(Date createTime){
		this.createTime = createTime;
	}

	public Date getCreateTime(){
		return createTime;
	}
	public void setUpdateTime(Date updateTime){
		this.updateTime = updateTime;
	}

	public Date getUpdateTime(){
		return updateTime;
	}
	public void setDelFlag(Integer delFlag){
		this.delFlag = delFlag;
	}

	public Integer getDelFlag(){
		return delFlag;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("money", getMoney())
            .append("proceMoney", getProceMoney())
            .append("way", getWay())
            .append("status", getStatus())
            .append("reason", getReason())
            .append("alipayId", getAlipay()).append("alipayId", getAlipayId())
            .append("bankName", getBankName())
            .append("bankNumber", getBankNumber())
            .append("realName", getRealName())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())

            .toString();
    }
}
